package com.motion.generator.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author www
 * @since 2022-04-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("Goods")
public class Goods implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "goodsId", type = IdType.AUTO)
    private Long goodsId;

    @TableField("goodsName")
    private String goodsName;

    private Integer price;

    @TableField("goodsUrl")
    private String goodsUrl;

    private String type;

    private Integer freight;

    private Integer inventory;

    private Integer exchange;


}
